.input {
    flex: 1;
    padding: 0;
    overflow: hidden;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
}
.write-btn{
    display: inline-block;
    padding: 0 16px;
    font-size: 14px;
    line-height: 32px;
    color: #8590A6;
    text-align: center;
    cursor: pointer;
    background: none;
    border: 1px solid;
    border-radius: 3px;
}
.write-publish-btn{
  
}
.write-layout{
    background: #fff;
    min-height: 660px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-shrink: 0;
}
.write-header{
    height: 59px;
    .write-navbar{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 59px;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        color: #808080;
        background: rgba(255, 255, 255, 0.97);
        z-index: 1;
        &.fixed{
            position: fixed;
        }
        .navbar-middle{
            margin: 0 auto;
            width: 660px;
            flex-direction: row;
            align-items: center;
            white-space: nowrap;
            .navbar-title{
                display: flex;
                flex-direction: row;
                align-items: center;
                .title{
                    font-weight: 600;
                    font-synthesis: style;
                    color: #333;
                    margin-right: 20px;
                }
                .sub-title{
                    color: #b3b3b3;
                }
            }
        }
        .navbar-function{
            position: absolute;
            right: 0;
            top: 0;
            flex-direction: row;
            height: calc(59px - 1px);
            align-items: center;
            align-self: stretch;
        }
        
    }
}

.write-body{
    margin: 0 auto;
    padding: 46px 0;
    width: 860px;
    z-index: 0;
}
.write-imgCover-wrp {
    background: #f7f8f9;
    line-height: 192px;
    color: #808080;
    min-height: 192px;
    text-align: center;
}
.UploadPicture-wrapper{
    display: flex;
    flex: 1;
    text-align: center;
    cursor: pointer;
}
.UploadPicture-input{
    opacity: 0;
    // display: none;
}
.UploadPicture-preview{
    position: relative;
    // display: flex;
    text-align: center;
    cursor: pointer;
    &>img{
        display: block;
        width: 100%;
    }
    .UploadPicture-buttons{
        position: absolute;
        top: 0;
        right: 0;
        line-height: normal;
    }
}
.write-input-title{
    margin: 16px 0;
    border: 0;
    padding: 0;
    height: auto;
    width: 100%;
    position: relative;
    .input{
        min-height: 44px;
        display: block;
        width: 100%;
        border: 0;
        font-size: 32px;
        line-height: 1.4;
        font-weight: 600;
        font-synthesis: style;
        outline: none;
        box-shadow: none;
    }
}
.write-input-summary{
    margin-bottom: 16px;
    .input{
        min-height: 32px;
        display: block;
        width: 100%;
        border: 0;
        font-size: 20px;
        line-height: 1.4;
        font-weight: 600;
        font-synthesis: style;
        outline: none;
        box-shadow: none;
    }
}

.uploadProgress-dialog{
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, .8);
    padding: 10px;
    z-index: 5;
    display: flex;
    transition: all .5s;
    border-radius: 4px;
    &.fixed{
        position: fixed;
        top: 50%;
        left: 50%;
        margin-top: -50px;
        margin-left: -50px;
    }
    .uploadProgress-inner{
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #fff;
    }
    .ant-progress-text{
        color: #fff;
    }
}